package com.epfly.iface.promo.activity.vo;

import com.epfly.base.hv.UpdateGroup;
import com.epfly.base.vo.BaseReq;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StoreCountRequest extends BaseReq {


    /**
     * 活动ID(用于排他)
     */
    @NotNull(message = "活动ID不能为空", groups = {UpdateGroup.class})
    private Long activityId;

    /**
     * 商户ID
     */
    @NotEmpty(message = "商户ID不能为空")
    private String merchantId;

    /**
     * 活动开始时间
     */
    @NotNull(message = "活动开始时间不能为空")
    private Long activityStartTime;

    /**
     * 活动结束时间
     */
    @NotNull(message = "活动结束时间不能为空")
    private Long activityEndTime;
}
